<!DOCTYPE html>
<html>
<head>
    <title>选择座位 - {{ schedule.movie.title }}</title>
</head>
<body>
    <h2>{{ schedule.movie.title }} {{ schedule.screening_time }}</h2>
    <form method="post">
        {% csrf_token %}
        <div class="seat-grid">
            {% for seat in seats %}
            <label>
                <input type="checkbox" name="seats" value="{{ seat.seat_id }}">
                {{ seat.row_number }}排{{ seat.column_number }}座
            </label>
            {% endfor %}
        </div>
        <button type="submit">确认选座</button>
    </form>
</body>
</html>